package com.codeavatar.hardwaretester.model;

import android.bluetooth.BluetoothGattService;

import java.util.ArrayList;
import java.util.List;

/**
 * +----------------------------------------------------------------------
 * | @Author: codeavatar   @Year：2022
 * +----------------------------------------------------------------------
 * | @Email: codeavatar@aliyun.com
 * +----------------------------------------------------------------------
 **/
public class BluetoothServiceModel {

    private String uuid;
    private List<BluetoothCharacteristicModel> characteristicModelList;
    private BluetoothGattService bluetoothGattService;
    private int checkedIndex = -1;

    public BluetoothServiceModel() {
        characteristicModelList = new ArrayList<>();
    }

    public BluetoothServiceModel(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public List<BluetoothCharacteristicModel> getCharacteristicModelList() {
        return characteristicModelList;
    }

    public void setCharacteristicModelList(List<BluetoothCharacteristicModel> characteristicModelList) {
        this.characteristicModelList = characteristicModelList;
    }

    public BluetoothGattService getBluetoothGattService() {
        return bluetoothGattService;
    }

    public void setBluetoothGattService(BluetoothGattService bluetoothGattService) {
        this.bluetoothGattService = bluetoothGattService;
    }

    public int getCheckedIndex() {
        return checkedIndex;
    }

    public void setCheckedIndex(int checkedIndex) {
        this.checkedIndex = checkedIndex;
    }
}
